package so.ifl.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.session.RowBounds;

import so.ifl.vo.MenuVo;

/**
 * create by aaron.lu
 * create at 2011-12-20 下午9:48:50
 * <mailto: atyuan.lu@gmail.com>
 **/
public interface MenuInfoDao {
	
	public List<MenuVo> queryMenuWithParamAndPagination(Map<String, Object> params, RowBounds rowBounds);
	
	public List<MenuVo> queryMenuWithParamAndPaginationNoNull(Map<String, Object> params, RowBounds rowBounds);
	
	public Integer countMenuWithParam(Map<String, Object> param);
	
	public Integer countMenuWithParamNoNull(Map<String, Object> param);
	
	public List<MenuVo> queryMenuWithRole(Map<String, Object> params, RowBounds rowBounds);
	
	public Integer countMenuWithRole(Map<String, Object> params);
	
	public void insertMenu(MenuVo menuVo);
	
	public void updateMenu(Map<String, Object> param);
	
	public void deleteMenu(Integer menuId);
	
	public List<MenuVo> queryMenuWithRoleNoRecurrence(Map<String, Object> params, RowBounds rowBounds);
	
	public Integer countMenuWithRoleNoRecurrence(Map<String, Object> params);
	
}
